﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using DTOService;

namespace DAOService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IDAOBangDia_Muon" in both code and config file together.
    [ServiceContract]
    public interface IDAOBangDia_Muon
    {
        [OperationContract]
        BangDia_Muon[] SelectBangDia_Muon();
        [OperationContract]
        int UpdateBangDia_Muon();
        [OperationContract]
        int DeleteBangDia_Muon();
        [OperationContract]
        string InsertBangDia_Muon(BangDia_Muon parr);       
        [OperationContract]
        BangDia_Muon[] BaoCaoThang_Nam(int thang, int nam);
        [OperationContract]
        float TongDoanhThuThang(int thang);
        [OperationContract]
        BangDia_Muon[] ThongKeBangDiaQuanHan();
        [OperationContract]
        BangDia_Muon GetBangDia_Muon(string mabd, string makh);
        [OperationContract]
        BangDia_Muon[] GetBangDia_MuonOFKhachhang(string makh);
        [OperationContract]
        int TraDia(BangDia_Muon bdm);
    }
}
